﻿using System;

namespace EmbeddedSharp.Core.Function.Statistics {
    public class MeanNode : AbstractStatisticsNode {

        public MeanNode()
            : base() {
            this.Value = "mean";
        }

        protected override double Evaluate(StatisticsFunctions sf) {
            return sf.mean();
        }
    }
}
